package com.chenchen.subject.common.enums;

import lombok.Data;
import lombok.Getter;

/**
 * ClassName ResultCode
 * description:
 *
 * @author 海问香
 * @createTime 2024/7/15 21:53
 */
@Getter
public enum ResultCodeEnum {

    SUCCESS(200, "成功"),
    FAIL(500, "操作失败");
    public int code;
    public String desc;
    ResultCodeEnum(int code,String desc){
        this.code = code;
        this.desc = desc;
    }
}
